package com.only4play.portal.web.handler;

import com.only4play.portal.common.session.PortalSessionManager;
import com.only4play.portal.cp.api.CpService;
import com.only4play.portal.cp.bean.message.jsonmessage.CpJsonMessage;
import com.only4play.portal.cp.bean.message.jsonmessage.CpJsonOutMessage;
import com.only4play.portal.cp.message.CpMessageHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author liyuncong
 * @version 1.0
 * @file LocationHandler
 * @brief LocationHandler
 * @details LocationHandler
 * @date 2024-06-11
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-06-11               liyuncong          Created
 */

@Slf4j
@Component
public class LocationHandler implements CpMessageHandler<CpJsonOutMessage, CpJsonMessage> {
    @Override
    public CpJsonOutMessage handle(CpJsonMessage cpMessage, Map<String, Object> context, CpService portalCpService, PortalSessionManager sessionManager) {
        log.info("LocationHandler: this message is coming here now");
        return null;
    }
}
